<?php 
require('Home/Model/IndexModel.php');
require_once('Controller.php');
class IndexController extends Controller
{
	function __construct()
	{
		parent::__construct();  
		 $this->mod=new IndexModel();
	}
      public function index()
      {
      	$geshoutype=$this->mod->getgeshoutype();
 		$this->assign("geshoutype",$geshoutype);//
            $musictype=$this->mod->getmusictype();
            $this->assign("musictype",$musictype);
 		$geshouhint=$this->mod->get5hint();
 		$this->assign("geshouhint",$geshouhint);//
 		$geshoudown=$this->mod->get5down();
 		$this->assign("geshoudown",$geshoudown);//
 		$dianshiju=$this->mod->dianshiju();
 		$this->assign("dianshiju",$dianshiju);//
 		$dianying=$this->mod->dianying();
 		$this->assign("dianying",$dianying);//
 		$donghuapian=$this->mod->donghuapian();
 		$this->assign("donghuapian",$donghuapian);//
 		$yuanchuang=$this->mod->yuanchuang();
 		$this->assign("yuanchuang",$yuanchuang);//
      	$this->display();
      }
      public function lists()	
      {
      	$lists=$this->mod->getlist();
      	$this->assign("geshoulist",$lists);
      	$this->display();
      }
      public function contents() 
      {
            $contents=$this->mod->getcontent();
          
            $this->assign("geshoucontent",$contents);
            $contents2=$this->mod->getcontent2();
          
            $this->assign("musiccontent",$contents2);
            $contents3=$this->mod->getcontent3();
          
            $this->assign("albumcontent",$contents3);
            $this->display();
      }

     
}

 ?>
